package com.hqq.create.abstactfactory;


/**
 * FactoryTest
 * 抽象工厂模式
 * 创建多个工厂类，这样一旦需要增加新的功能，直接增加新的工厂类就可以了
 * Created by heqianqian on 2017/3/10.
 */
public class FactoryTest {
    public static void main(String[] args) {
       Provider provider = new WalkFactory();
       Sender sender = provider.produce();
       sender.send();
    }
}
